
public class DatabaseInfo {
	public final String server;
	public final String database;
	public final String user_name;
	public final String password;
	
	private String account_ID;
	
	public DatabaseInfo(String the_server, String the_database, 
			String the_user_name, String the_password, String the_accountID) 
	{
		server = the_server;
		database = the_database;
		user_name = the_user_name;
		password = the_password;
		account_ID = the_accountID;
	}
	
	public boolean setAccountID(String the_ID) {
		//only set if the only difference is case
		if(account_ID.equalsIgnoreCase(the_ID)) {
			account_ID = the_ID;
			return true;
		}
		return false;
	}
	
	public String getAccountID() {
		return account_ID;
	}
}
